package cglib动态代理;

import jingtaidaili.FangDong;

/**
 * @author ：Xiaochen
 * @date ：Created in 2022/11/9 22:40
 * @description：
 * @modified By：
 * @version:
 */
public class Test {
    public static void main(String[] args) {
        ProxyFactory proxyFactory = new ProxyFactory(new Fangdong());
        //获取代理对象
        Fangdong instance = (Fangdong) proxyFactory.getInstance();
        instance.chuzu();
    }
}